package com.IO.ZiFuLiu03;

import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class A02 {
    public static void main(String[] args) throws IOException {
        FileReader fr = new FileReader("untitled\\aaa.txt");
        char[] chars = new char[2];
        int i;
        while ((i = fr.read(chars)) != -1){
            System.out.println(new String(chars,0,i));
        }
        fr.close();
    }
}
